package com.iran.adapter.test;

public class Center extends Player {
    @Override
    public void attack() {
        System.out.println("中锋: "+getName()+"进攻");
    }

    @Override
    public void defense() {
        System.out.println("中锋: "+getName()+"防守");
    }
}
